<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
        <title>My City</title>
        <meta http-equiv="cache-control" content="no-cache" />
        <!-- Main style -->
        <link rel="stylesheet" href="/MyCityWeb/css/style.css" type="text/css" />

        <script type="text/javascript">

        </script>
    </head>

    <body class="direction-left">

        <!-- SHOW THIS PART AS LOGIN PAGE (BEGIN) -->	
        <div id="content">

            <!-- PANEL -->
            <div class="panel">

                <!-- LOGIN -->
                <div id="subscribe">
                    <!-- LOGIN FORM (BEGIN) -->
                    <form id="subscribe-form" action="/MyCityWeb/User/loginAction" method="post">
                        <input type="text" id="vy-q" dir='ltr' autofocus='true' style='width:230px; height:38px;' name="username" placeholder="Email address...">
                            <input type="password" id="vy-q" dir='ltr' style='width:230px; height:38px;' name="password" placeholder="Password...">
                                <input type="submit" id="subscribe-button" value="LOGIN" />
                                </form>
                                <!-- /LOGIN FORM (END) -->
                                </div>
                                <!-- /LOGIN -->

                                <!-- SOCIAL -->
                                <div class="social">

                                    <a href="/MyCityWeb/register.jsp" target='blank'>
                                        <img src="/MyCityWeb/img/profile.png" title='JOIN US' alt="REGISTER">
                                    </a>

                                    <a href="/MyCityWeb/home.jsp" target='blank'>
                                        <img src="/MyCityWeb/img/home.png" title='HOME' alt="GO TO HOME">
                                    </a>
                                </div>
                                <!-- /SOCIAL -->

                                <!-- /POST SCRIPTUM -->
                                </div>

                                <!-- REGISTER -->
                                <div class='footer-bar'>
                                    <div class="countdown">
                                        <div class="countdown-text">
                                            <span class='slogan' style='color:#8CC5F2;'><a>Visit The Most Exciting Places In The City.</a></span>
                                        </div>
                                 
                                    </div>
                                </div>
                                <%String fail = request.getParameter("loginFailed");
                                            if (fail != null) {%>
                                <div class='footer-bar'>
                                    <div class="countdown">


                                        <div class="countdown-text">
                                            <span  style='color:red;'>LOGIN FAILED!</span>
                                        </div>

                                    </div>
                                </div>
                                <%}%>
                                <!-- REGISTER -->

                                </div>

                                </body>
                                </html>
